﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LighthouseServerException.cs" company="Mar3ek">
//   http://mar3ek.wordpress.com
// </copyright>
// <summary>
//   An exception that is thrown when a communication/server error occurs
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace LighthouseNET
{
    using System;

    /// <summary>
    /// An exception that is thrown when a communication/server error occurs
    /// </summary>
    [Serializable]
    public sealed class LighthouseServerException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="LighthouseServerException"/> class.
        /// </summary>
        public LighthouseServerException()
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="LighthouseServerException"/> class.
        /// </summary>
        /// <param name="message">The exception message.</param>
        public LighthouseServerException(string message) : base(message)
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="LighthouseServerException"/> class.
        /// </summary>
        /// <param name="message">The exception message.</param>
        /// <param name="innerException">The inner exception.</param>
        public LighthouseServerException(string message, Exception innerException) : base(message, innerException)
        { }
    }
}
